#include "AdplatformApp.h"
#include <wx/xrc/xmlres.h>
#include <wx/dialog.h>
#include "LoginDlg.h"

DECLARE_APP(CAdplatformApp);
IMPLEMENT_APP(CAdplatformApp)

CAdplatformApp::CAdplatformApp(void)
{
}

CAdplatformApp::~CAdplatformApp(void)
{
}

bool CAdplatformApp::OnInit()
{
	wxXmlResource::Get()->InitAllHandlers();
	wxXmlResource::Get()->Load(wxT("Login.xrc"));

	CLoginDlg		*dlg	= new CLoginDlg;

	dlg->ShowModal();

	return false;
}